package com.rightsidetech.user;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ImportResource;

@SpringBootApplication
@ImportResource({"classpath:spring-dubbo-user.xml"})
@MapperScan("com.rightsidetech.user.mapper")
@EnableDiscoveryClient
public class UserServerApplication {
    public static void main(final String[] args) {
        SpringApplication.run(UserServerApplication.class, args);
    }
}
